package stud.aistar.vo;


import stud.aistar.entity.SecondDepartment;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Jcdz on 2019/10/1.
 */
public class DepartmentVo implements Serializable {

    private Integer deptId;

    private String name;//一级科室


    private List<SecondDepartment> list;

    public DepartmentVo() {
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<SecondDepartment> getList() {
        return list;
    }

    public void setList(List<SecondDepartment> list) {
        this.list = list;
    }


    public DepartmentVo(Integer deptId, String name, List<SecondDepartment> list) {
        this.deptId = deptId;
        this.name = name;
        this.list = list;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("DepartmentVo{");
        sb.append("deptId=").append(deptId);
        sb.append(", name='").append(name).append('\'');
        sb.append(", list=").append(list);
        sb.append('}');
        return sb.toString();
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }
}
